package org.example.course.service;

import org.example.commonapi.domain.Task;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.commonapi.dto.TaskFinish;
import org.example.commonapi.dto.TaskInfoDto;

import java.util.List;

/**
* @author DELL
* @description 针对表【task(任务)】的数据库操作Service
* @createDate 2024-06-03 15:12:14
*/
public interface TaskService extends IService<Task> {

    List<TaskInfoDto> courseTaskList(Long courseId, String name, Integer type);

    void insertTask(Task task);

    List<List<Task>> courseDoingTaskList(Long courseId);


    List<TaskFinish> listTaskDetail(Long courseId);
}
